<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">首页</router-link> |
      <router-link to="/login">登陆</router-link>|
      <router-link to="/profile">个人</router-link>
    </div>
    <router-view/>
  </div>
</template>

<style>
#nav {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
